﻿/**************************************************************
 * Copyright gt1987. All rights reserved.
 * 
 * Author: guitao(guitao@eastmoney.com) 
 * Create Date: 2020/4/14 14:00:55
 * Description: IMessageSendValidator
 *          
 * Revision History:
 *      Date         Author               Description
 *              
***************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace gt.ShortMessage.Services
{
    public interface IMessageSendValidator
    {
        /// <summary>
        /// 短信发送前检查
        /// </summary>
        bool Validate(string phone,string uniqueId);
        /// <summary>
        /// 用于数据统计
        /// 短信发送成功后
        /// </summary>
        void AfterSend(string phone, string uniqueId);
    }
}
